package com.iraeta.dao.basedata;

import com.iraeta.entity.Scviewrecord;
import com.iraeta.entity.vo.ScviewrecordVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ScviewrecordDao {
    int insert(Scviewrecord record);
    int updateByPrimaryKey(Scviewrecord record);
    int deleteByPrimaryKey(Integer id);
    Scviewrecord selectByPrimaryKey(Integer id);
    Scviewrecord selectByOrgid(@Param("orgid") Integer orgid, @Param("recordtime") String recordtime);
    List<ScviewrecordVo> selectScviewrecordByCondition(@Param("orgid") Integer orgid);
}